using UnityEngine;
using System.Collections;

/// \class  gkSpawnTriggerOneShot
/// \brief  Make is owner spawn once then destroy himself
[AddComponentMenu("GK/Engine/Game/Spawn/gkSpawnTriggerOneShot")]
public class gkSpawnTriggerOneShot : gkSpawnTrigger 
{
	/// \brief  Spawn the actors
	protected override void SpawnActors()
	{
		base.SpawnActors();
	
		// Auto destroy after spawning
		Destroy(gameObject);
	}
}
